<template>
  <div id="app">
    <el-row class="box" :gutter="20">
      <el-col :span="6">
        <div class="bg-yellow"></div>
      </el-col>
      <el-col :span="6">
        <div class="bg-red"></div>
      </el-col>
      <el-col :span="6">
        <div class="bg-yellow"></div>
      </el-col>
      <el-col :span="6">
        <div class="bg-red"></div>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: "App",
  components: {},
};
</script>
<style>
* {
  margin: 0;
  padding: 0;
}
</style>

<style lang="less" scoped>
.box {
  width: 100%;
  height: 100vh;
  .bg-yellow {
    width: 100%;
    height: 100vh;
    background: yellowgreen;
  }
  .bg-red {
    width: 100%;
    height: 100vh;
    background: red;
  }
}
</style>
